package com.knife.blog.domain;
import com.knife.dbo.IObject;
import java.io.Serializable;
public class BlogMessage implements IObject,Serializable {

	//属性部份

	private static final long serialVersionUID = 1L;
	private String cid;
  	private String belonguser;
  	private String parentid;
  	private String title;
  	private String content;
  	private Integer status;
  	private String inputuser;
  	private java.util.Date inputtime;
  	private String ip;
  	private Integer readtimes;
  	private String url;
  	private String review;
  	private Integer auditing;
  
  	//自动映射部份
	public String getTableName() {
		return "blogmessage";
	}

	public String getKeyField() {
		return "cid";
	}

	public String getKeyGenerator() {
		return "com.knife.dbo.RandomIdGenerator";
	}

	//getter及setter方法

 	public String getCid() {
		return cid;
	}

	public void setCid(String cid) {
		this.cid = cid;
	}
  	public String getBelonguser() {
		return belonguser;
	}

	public void setBelonguser(String belonguser) {
		this.belonguser = belonguser;
	}
  	public String getParentid() {
		return parentid;
	}

	public void setParentid(String parentId) {
		this.parentid = parentId;
	}
  	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}
  	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}
  	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}
  	public String getInputuser() {
		return inputuser;
	}

	public void setInputuser(String inputuser) {
		this.inputuser = inputuser;
	}
  	public java.util.Date getInputtime() {
		return inputtime;
	}

	public void setInputtime(java.util.Date inputtime) {
		this.inputtime = inputtime;
	}
  	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}
  	public Integer getReadtimes() {
		return readtimes;
	}

	public void setReadtimes(Integer readTimes) {
		this.readtimes = readTimes;
	}
  	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getReview() {
		return review;
	}

	public void setReview(String review) {
		this.review = review;
	}

	public Integer getAuditing() {
		return auditing;
	}

	public void setAuditing(Integer auditing) {
		this.auditing = auditing;
	}
}